package com.tjec.project.esb.domain;

import java.util.HashMap;

/**
 * @author ：cjj
 * @date ：Created in 2020/10/16 14:59
 */
public class EsbResHead  extends HashMap<String, Object> {

    private static final long serialVersionUID = 1L;

    /** 请求的唯一标示 */
//    public static final String REQUEST_ID = "requestId";

    /** 响应编码 */
    public static final String ERROR_CODE = "errorCode";

    /** 响应描述 */
    public static final String ERROR_DESC = "errorDesc";
    
    /** 源系统 */
    public static final String status_Flag = "statusFlag";

    public EsbResHead(String errorCode, String errorDesc)
    {
//        super.put(REQUEST_ID, requestId);
        super.put(ERROR_CODE, errorCode);
        super.put(ERROR_DESC, errorDesc);
    }
    
    public EsbResHead(String errorCode, String errorDesc, String statusFlag)
    {
//        super.put(REQUEST_ID, requestId);
        super.put(ERROR_CODE, errorCode);
        super.put(ERROR_DESC, errorDesc);
        super.put(status_Flag, statusFlag);
    }
}
